﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ModelDesignEduse.TableProjection
{
    /// <summary>
    /// Relations between a element and its parent element and also place 
    /// of the element among its parent element
    /// @example subtopic, parent: topic place:3rd subtopic in that topic
    /// it also provides n to n between elements (element_id, parent_id) is unique
    /// </summary>
    public class ElementParent 
    {
        public int element_id;
        //element id
        public int parent_element_id;
        /// <summary>
        /// element's place in its own unique [(element_id, parent_element_id) 
        /// is a unique pair] parent
        /// </summary>
        public int place;
    }
}
